<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        
    </style>
</head>
<body>
    正在测试cookie的使用
</body>
<script>

    // document.cookie = "name=admin";

    // const d = new Date();
    // d.setDate(d.getDate()+3);
    // document.cookie = "age=18;expires=" + d;
    
    // document.cookie = "sex=男;path=/day22";
    
    // document.cookie = "msg=hahaha;path=/";
    
    // document.cookie = "isGoodMan=0;path=/;expires="+d;

    // const d = new Date();
    // d.setDate(d.getDate()-1);
    // document.cookie = "age=xxx;expires="+d;

    
    // console.log( document.cookie );
</script>
</html>